// 导出属于员工的路由规则
import Layout from '@/layout'

export default {
  path: '/class', // 路径
  name: 'class', // 给路由规则加一个name
  component: Layout, // 组件
  meta: {
    title: '班级管理', icon: 'link'
  },
  redirect:'/class',
  children: [
    {
      path: '/class/class',
    component: () => import('@/views/class/components/class'),
    meta: {
      title: '班级信息', icon: 'link'
    }
  },
    {
      path: '/class/student',
      component: () => import('@/views/class/components/student'),
    meta: {
      title: '学生信息', icon: 'link'
    }
  } 
  ]
}

